package com.demo.springBoot2.quartz.job;

import lombok.extern.slf4j.Slf4j;
import org.quartz.Job;
import org.quartz.JobExecutionContext;
import org.quartz.JobExecutionException;
import org.springframework.stereotype.Component;

/**
 * @Author pl711@qq.com
 * @PackageName springBoot2
 * @Package com.demo.springBoot2.quartz.job
 * @Date 2024/4/10 12:59
 * @Version 1.0=
 */
@Slf4j
@Component
public class VIPExpirationJob implements Job {

    @Override
    public void execute(JobExecutionContext jobExecutionContext) throws JobExecutionException {
        log.info("给要过期的会员发送邮件");
    }
}
